#include <iostream>
#define LOG(x) std::cout << x << std::endl;

void Increment(int* value)
{
	(*value)++;
}

int main()
{
	//char* buffer = new char[4];
	//memset(buffer, 10, 4);
	//char** b = &buffer;
	//char* a = buffer;
	//char** c = &a;
	//char*** d = &b;

	int f = 20;
	int& ref = f;
	int* pf = &f;
	int** dpf = &pf;
	int*** tpf = &dpf;
	int* pref = &ref;
	int** dpref = &pref;
	int*** tpref = &dpref;
/*	std::cout << &f << std::endl*/;

	std::cin.get();
}